package com.useful.core.exception;

import com.useful.core.constant.GlobalConstant;
import lombok.Getter;

import java.util.Map;

/**
 * @author : wenchao.long
 * @date : Created in 2021/9/19 21:32 周日
 * @description :
 */
public class UrlNotFoundException extends RuntimeException {

    private static final long serialVersionUID = -2392952684431561572L;

    @Getter
    private final Map<String, String> map;

    public UrlNotFoundException(Map<String, String> map) {
        super(GlobalConstant.URL_NOT_FOUND);
        this.map = map;
    }
}
